package com.credithc.signature.common.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "callback_log")
public class CallbackLog {

    @Id
    Long id;

    @Column(name = "request_no")
    String requestNo;

    @Column(name = "has_next")
    Boolean hasNext;

    @Column(name = "next_time")
    Date nextTime;

    @Column(name = "retry_time")
    Integer retryTime;

    @Column(name = "sign_status")
    Integer signStatus;

    @Column(name = "callback_url")
    String callbackUrl;

    @Column(name = "contract_uri")
    String contractUri;

    @Column(name = "recall_status")
    Integer recallStatus;

    @Column(name = "recall_msg")
    String recallMsg;

    @Column(name = "create_time")
    Date createTime;

    @Column(name = "update_time")
    Date updateTime;
}
